import QtQuick 1.0
import Qt 4.7
import QtMultimediaKit 1.1

    Audio{
        property string text: "PlayMusic"
        source: "sound/bgmusik.mp3"
        id : musik
        playing: {
            if(!mainWidget.getMusicMute()){
                return true
            }else{
                return false
            }
        }
        volume: 1
        onPlayingChanged: {
            if (!mainWidget.getMusicMute())
            {
                musik.play()
            }
        }
    }
